//
//  RSSwitchButtonView.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/4/11.
//  Copyright © 2019 李文强. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@protocol RSSwitchButtonViewDelegate <NSObject>

- (void)rSSwitchButtonViewSwitch:(int)index;

@end

@interface RSSwitchButtonView : UIView
@property (nonatomic, strong) UIView *buttonClickView;
@property (nonatomic, strong) NSArray *dataArray;
@property (nonatomic, assign) id<RSSwitchButtonViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame andButtonTitle:(NSArray *)array;

@end

NS_ASSUME_NONNULL_END
